<template>
  <img alt="Vue logo" src="./assets/logo.png" />
  {{ count }} {{ value }}
</template>

<script >
import { ref,reactive,toRefs } from 'vue';
export default {
    setup () {
         const state = reactive({
            count: 0,
            value: 'hello',
        })

        return {
           ...toRefs(state)
        };
    }
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
